package com.smartadmin.module.business.people;

import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PeopleDao {
    /**
     * 查询用户列表
     */
    List<People> selectPeopleList(People people);

    // 查询所有部门
    List<DeptCategory> queryDepartmentById();

    // 新增用户
    void insertPeople(People people);

    // 查询用户详情
    People queryPeopleDetails(People people);

    // 修改用户
    People updatePeople(People people);

    // 逻辑删除用户
    void deletePeople(People people);

}
